﻿using LinqToBing.Bing.Wrapper;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using LinqToBing.Bing.Wrapper.Enums;

namespace LinqToBing.Bing.Test
{
    
    
    /// <summary>
    ///This is a test class for SearchTypeContainerTest and is intended
    ///to contain all SearchTypeContainerTest Unit Tests
    ///</summary>
    [TestClass()]
    public class SearchTypeContainerTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for SearchTypeContainer Constructor
        ///</summary>
        [TestMethod()]
        [DeploymentItem("LinqToBing.Bing.Wrapper.dll")]
        public void SearchTypeContainerConstructorTest()
        {
            SearchSource searchType = new SearchSource(); // TODO: Initialize to an appropriate value
            Nullable<int> offset = new Nullable<int>(); // TODO: Initialize to an appropriate value
            Nullable<int> count = new Nullable<int>(); // TODO: Initialize to an appropriate value
            SearchTypeContainer_Accessor target = new SearchTypeContainer_Accessor(searchType, offset, count);
            Assert.Inconclusive("TODO: Implement code to verify target");
        }

        /// <summary>
        ///A test for CreateContainer
        ///</summary>
        [TestMethod()]
        public void CreateContainerTest()
        {
            SearchSource searchType = new SearchSource(); // TODO: Initialize to an appropriate value
            Nullable<int> offset = new Nullable<int>(); // TODO: Initialize to an appropriate value
            Nullable<int> count = new Nullable<int>(); // TODO: Initialize to an appropriate value
            SearchTypeContainer expected = null; // TODO: Initialize to an appropriate value
            SearchTypeContainer actual;
            actual = SearchTypeContainer.CreateContainer(searchType, offset, count);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for CreateContainer
        ///</summary>
        [TestMethod()]
        public void CreateContainerTest1()
        {
            SearchTypeContainer expected = null; // TODO: Initialize to an appropriate value
            SearchTypeContainer actual;
            actual = SearchTypeContainer.CreateContainer();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for CreateContainer
        ///</summary>
        [TestMethod()]
        public void CreateContainerTest2()
        {
            SearchSource searchType = new SearchSource(); // TODO: Initialize to an appropriate value
            SearchTypeContainer expected = null; // TODO: Initialize to an appropriate value
            SearchTypeContainer actual;
            actual = SearchTypeContainer.CreateContainer(searchType);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Count
        ///</summary>
        [TestMethod()]
        public void CountTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            SearchTypeContainer_Accessor target = new SearchTypeContainer_Accessor(param0); // TODO: Initialize to an appropriate value
            Nullable<int> expected = new Nullable<int>(); // TODO: Initialize to an appropriate value
            Nullable<int> actual;
            target.Count = expected;
            actual = target.Count;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Offset
        ///</summary>
        [TestMethod()]
        public void OffsetTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            SearchTypeContainer_Accessor target = new SearchTypeContainer_Accessor(param0); // TODO: Initialize to an appropriate value
            Nullable<int> expected = new Nullable<int>(); // TODO: Initialize to an appropriate value
            Nullable<int> actual;
            target.Offset = expected;
            actual = target.Offset;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for SearchType
        ///</summary>
        [TestMethod()]
        public void SearchTypeTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            SearchTypeContainer_Accessor target = new SearchTypeContainer_Accessor(param0); // TODO: Initialize to an appropriate value
            SearchSource expected = new SearchSource(); // TODO: Initialize to an appropriate value
            SearchSource actual;
            target.SearchType = expected;
            actual = target.SearchType;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
    }
}
